<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="pageContent">
	<form method="post" action="${rootUrl}/info/bank/${bank.id}" class="pageForm required-validate" onsubmit="return validateCallback(this, editDialogAjaxDone);">
		 <c:if test="${bank.id != 0 && bank.id != '' }"><input type="hidden" name="_method" value="put"></c:if>
		<input type="hidden" name="bank.id" value="${bank.id }"> 
		<div class="pageFormContent" layoutH="56">
			<p>
			     <label>银行编码：</label>
				<input name="bank.code" class="required" type="text" size="30" value="${bank.code }" />
			</p>
			<p>
				<label>银行名称：</label>
				<input name="bank.name" class="required" type="text" size="30" value="${bank.name }" />
			</p>
				<p>
			     <label>排序：</label>
				<input name="bank.sort" class="required" type="text" size="30" value="${bank.sort}" />
			</p>
			<p>
				<label>是否禁用：</label>
				<select name="bank.isDisabled" class="required combox">
				 <option <c:if test="${bank.isDisabled == 0}">selected="selected"</c:if> value="0">否</option>
				 <option <c:if test="${bank.isDisabled == 1}">selected="selected"</c:if> value="1">是</option>
				</select>
			</p>
   		 </div>
    	<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button id="theSubmit" type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
    </form>